package com.secsys.model;

import java.util.Date;

public class TbSysContent implements java.io.Serializable {

	// Fields

	private Integer id;
	private String title;
	private String content;
	private String type;
	private Integer authorId;
	private Date createDate;

	// Constructors

	/** default constructor */
	public TbSysContent() {
	}

	/** minimal constructor */
	public TbSysContent(String title, Integer authorId) {
		this.title = title;
		this.authorId = authorId;
	}

	/** full constructor */
	public TbSysContent(String title, String content, String type,
			Integer authorId, Date createDate) {
		this.title = title;
		this.content = content;
		this.type = type;
		this.authorId = authorId;
		this.createDate = createDate;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getAuthorId() {
		return this.authorId;
	}

	public void setAuthorId(Integer authorId) {
		this.authorId = authorId;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

}